import http from '/http/index'

// 登录
export const login = (params) => {
  return http('/api/user/login', params, 'GET')
}

// 开始播放
export const playStart = (deviceId, channelId) => {
  return http(`/api/play/start/${deviceId}/${channelId}`, {}, 'GET')
}
